﻿using Lis.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lis.IDAL
{
    public interface IUserCirculateDal:IBaseDal<UserCirculate>
    {
        /// <summary>
        /// 根据读者类型和典藏地查询流通权限
        /// </summary>
        /// <param name="userType">读者类型</param>
        /// <param name="collectionCode">典藏地</param>
        /// <returns></returns>
        IEnumerable<UserCirculate> GetEntitiesByUserType(string userType, string collectionCode);

        /// <summary>
        /// 根据读者类型查询流通权限
        /// </summary>
        /// <param name="userType">读者类型</param>
        /// <returns></returns>
        IEnumerable<UserCirculate> GetEntitiesByUserType(string userType);
    }
}
